//基础路由
const express = require("express");

var app = express();

app.get("/", function (req, res) {

    res.send(`<h1>主页</h1>`);

});

app.get("/login", function (req, res) {

    res.send(`登录页面`);

});

app.get("/registe", function (req, res) {

    res.send(`注册页面`);

});

app.listen(8080, () => {
    console.log("请在浏览器中打开此页面访问：http://localhost:8080/");
});

